package com.yanqu.road.entity.activity.businessdepart.config;

import com.yanqu.road.entity.activity.ActivityConfig;
import com.yanqu.road.entity.activity.ActivityInfo;
import com.yanqu.road.entity.activity.springdraw.config.SpringDrawDigRewardConfig;
import com.yanqu.road.utils.RandomHelper;
import com.yanqu.road.utils.string.StringUtils;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class BusinessDepartConfig {

    // 活动信息
    private ActivityInfo activityInfo;

    //启程币id
    private int EXCHANGE_SCORE_ITEM_ID;

    //每日活跃度需求
    private long DEPART_DAILY_ACTIVITY_REQUEST;

    public BusinessDepartConfig(ActivityInfo activityInfo, Map<String, ActivityConfig> activityConfigMap) {
        this.activityInfo = activityInfo;
        this.EXCHANGE_SCORE_ITEM_ID = activityConfigMap.get("EXCHANGE_SCORE_ITEM_ID").getIntValue();
        this.DEPART_DAILY_ACTIVITY_REQUEST = activityConfigMap.get("COM_BUSINESSDEPART_DAILY_ACTIVITY_REQUEST").getLongValue();
    }

    public ActivityInfo getActivityInfo() {
        return activityInfo;
    }

    public int getEXCHANGE_SCORE_ITEM_ID() {
        return EXCHANGE_SCORE_ITEM_ID;
    }

    public long getDEPART_DAILY_ACTIVITY_REQUEST() {
        return DEPART_DAILY_ACTIVITY_REQUEST;
    }
}
